/*
 * @Author: Wuxiaoxue
 * @Date: 2021-07-12 21:06:25
 * @LastEditors: Wuxiaoxue
 * @LastEditTime: 2021-07-12 21:10:50
 * @Description:
 */
import { Button, Result, Card } from 'antd';
import React from 'react';
import { history } from 'umi';

const NoFoundPage: React.FC = () => (
  <Result
    status="404"
    title="404"
    subTitle="Sorry, the page you visited does not exist."
    extra={
      <Button type="primary" onClick={() => history.push('/')}>
        Back Home
      </Button>
    }
  />
);

export default NoFoundPage;
